﻿/*
 * 
 * 
 * 
 */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SNSpirit.IO
{
    public abstract class RepositoryIdentity : IEquatable<RepositoryIdentity>
    {
        public abstract bool Equals(RepositoryIdentity other);

        public override bool Equals(object obj)
        {
            if (obj is RepositoryIdentity)
                return this.Equals(obj as RepositoryIdentity);
            else
                return false;
        }

        public override int GetHashCode()
        {
            return base.GetHashCode();
        }
    }
}
